package state;

public class SoldOutState implements State{

    GumballMachine gumballMachine;

    public SoldOutState(GumballMachine gumballMachine) {
        this.gumballMachine = gumballMachine;
    }

    @Override
    public void insertQuarter() {
        System.out.println("you cant insert sold out");
    }

    @Override
    public void ejectQuarter() {
        System.out.println("you cant eject sold out");
    }

    @Override
    public void turnCrank() {
        System.out.println("you turned but there is no gumballs -sold out");
    }

    @Override
    public void dispense() {
        System.out.println("no gumball dispensed sold out");
    }
}
